package org.bright.service.Impl;

import org.bright.dao.OrderDao;
import org.bright.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Qualifier("orderDaoImpl")
    @Autowired
    private OrderDao orderDaoImpl;

    @Qualifier("orderNewDaoImpl")
    @Autowired
    private OrderDao orderNewDaoImpl;
    @Override
    public void showApple() {
        orderNewDaoImpl.showMessage();
    }

    @Override
    public void showHuaWei() {
        orderDaoImpl.showMessage();
    }
}
